Release 10.1A: OpenEdge Development:
Messaging and ESB
setDefaultTimeToLive procedure
Sets the default time to live, the number of milliseconds from the time a message is sent to the time the SonicMQ Broker can delete the message from the system.
Syntax
Applies to
Session objects
Notes
- A setting of 0 specifies that the message never expires.
- The default is JMS-broker-dependent; the SonicMQ default value is 0.
- Any fractional part of the decimal value is truncated.
- If the value does not fit in a Java
longvalue, Java rules for decimal-to-long conversions are used.- Setting an Unknown value (
?) has no effect.See also
setDefaultPersistency procedure, getDefaultPersistency function, setDefaultPriority procedure getDefaultPriority function, setDefaultTimeToLive procedure, getDefaultTimeToLive function
For more information, see the "Accessing message delivery parameters" section.
|
Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |